{% extends 'base.html.twig' %}

{% block body %}
<div class="container">
    <div class="columns is-centered">
        <div class="column is-half">
            {% if error is defined %}
                <div class="notification is-danger">{{ error }}</div>
            {% endif %}
            <form name="signUp" action="{{ path('sign-up') }}" method="post">
                <div class="control">
                    <input class="input" name="uuid" type="hidden" value="{{ uuid }}" id="uuid">
                </div>
                <div class="field">
                    <label for="email">Email</label>
                    <div class="control">
                        <input class="input" name="email" type="email" placeholder="asd@as.as" id="email">
                    </div>
                </div>
                <div class="field">
                    <label for="password">Password</label>
                    <div class="control">
                        <input class="input" name="password" type="password" placeholder="******" id="password">
                    </div>
                </div>
                <div class="field">
                    <div class="control">
                        <input class="button is-link" type="submit" value="Send">
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
{% endblock body %}
